microtime
Returns the current Unix timestamp, and the number of microseconds
microtime()
function returns the number of microseconds of the current Unix timestamp.
Returns the number of microseconds of the current Unix timestamp:
<?php echo ( microtime ( ) ) ; ?>
Try it yourself
microtime ( get_as_float ) ;
parameter | describe |
---|---|
get_as_float | Optional. When set to TRUE, it is specified that the function should return a floating point number, otherwise it will return a string. The default is FALSE. |